import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)
const routes = [
  { path: "/login", component: () => import("@/views/login/index.vue") },
  // { path: "/" ,}
]
const createRouter = () => new Router({
  // mode: "history",
  scrollBehavior: () => ({ y: 0 }),
  routes: routes
})

const router = createRouter()
export default router